﻿using System;
using System.Collections;
using System.ComponentModel;

namespace Smart.ERP.PMQLNS
{
    public class C_PhanCong_DeptCollection : CollectionBase
    {
        [Description("Adds a new C_PhanCong_Dept to the collection.")]
        public int Add(C_PhanCong_Dept item)
        {
            return base.List.Add(item);
        }

        [Description("Returns true if the C_PhanCong_Dept class is present in the collection.")]
        public bool Contains(C_PhanCong_Dept item)
        {
            return base.List.Contains(item);
        }

        [Description("Returns the index value of the BRANCH class in the collection.")]
        public int IndexOf(C_PhanCong_Dept item)
        {
            return base.List.IndexOf(item);
        }

        [Description("Inserts an C_PhanCong_Dept into the collection at the specified index..")]
        public void Inserts(int index, C_PhanCong_Dept item)
        {
            base.List.Insert(index, item);
        }

        [Description("Removes a C_PhanCong_Dept from the collection.")]
        public void Remove(C_PhanCong_Dept item)
        {
            base.List.Remove(item);
        }
    }
}
